package nl.rug.snitter.site;

import java.io.Serializable;

public class ErrorResponse implements Serializable
{

	private static final long serialVersionUID = 7794574544143044421L;
	private String errorName= null;
	private String errorMsg= null;
	
	public ErrorResponse()
	{
		
	}
	
	public ErrorResponse(String errorName, String errorMsg)
	{
		this.setErrorName(errorName);
		this.setErrorMsg(errorMsg);
	}

	public void setErrorName(String errorName)
	{
		this.errorName = errorName;
	}

	public String getErrorName()
	{
		return errorName;
	}

	public void setErrorMsg(String errorMsg)
	{
		this.errorMsg = errorMsg;
	}

	public String getErrorMsg()
	{
		return errorMsg;
	}
}
